package com.itheima.wms.vo;

import com.itheima.wms.entity.GroundingEntity;
import com.itheima.wms.entity.OwnerEntity;
import com.itheima.wms.entity.ReceiptEntity;
import com.itheima.wms.entity.ReceivingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 展示层
 * 入库单详情
 * </p>
 */
@Data
@ApiModel(value = "ReceiptDetailVO", description = "入库单详情")
public class ReceiptDetailVO extends ReceiptEntity {

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
    @ApiModelProperty(value = "库区名称")
    private String areaName;
    @ApiModelProperty(value = "货主名称")
    private String ownerName;
    @ApiModelProperty(value = "货主编号")
    private String ownerCode;

    @ApiModelProperty(value = "运营商名称")
    private String carrierName;

    @ApiModelProperty(value = "状态节点时间")
    private List<String> timeArray;

    @ApiModelProperty(value = "货主")
    private OwnerEntity owner;

    @ApiModelProperty(value = "体积总计")
    private BigDecimal volumeTotal;
    @ApiModelProperty(value = "货品总计")
    private Integer goodsTotal;

    @ApiModelProperty(value = "收货任务")
    private ReceivingEntity receivingEntity;
    @ApiModelProperty(value = "上架任务")
    private GroundingEntity groundingEntity;

    @ApiModelProperty(value = "损益合计")
    private BigDecimal idMoney;

    @ApiModelProperty(value = "损益列表")
    private List<IncreaseDecreaseDetailVO> idList;
}
